#include<graphics.h>
#include<conio.h>
#include<windows.h>

void main()
{
	int R=20;
	int v_x=30,v_y=30;
	int ball_x[8]={1,-1,1,-1,1,-1,1,-1};
	int ball_y[8]={-1,1,-1,1,-1,1,-1,1};
	int x_i[8],y_i[8];
	int i;
	for(i=0;i<8;i++)
	{
		x_i[i]=(i+1)*100;
		y_i[i]=(i+1)*100;
	}
	initgraph(900,900);

	while(1)
	{
		for(i=0;i<8;i++)
		{
			setcolor(YELLOW);
			setfillcolor(GREEN);
			fillcircle(x_i[i],y_i[i],R);
		}		
	}
	
	getch();

	closegraph();
}